@mixin transition-all()
{
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
}

@mixin background-cover()
{
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

@mixin button-variant($color, $background, $border)
{
	color: $color;
	background-color: $background;
	border-color: $border;
	@include transition-all;

	&:hover,
	&:focus,
	&.focus,
	&:active,
	&.active,
	.open > .dropdown-toggle & {
		color: $color;
		background-color: darken($background, 5%);
    border-color: darken($border, 7%);
	}
	&:active,
	&.active,
	.open > .dropdown-toggle & {
		background-image: none;
	}
	&.disabled,
	&[disabled],
	fieldset[disabled] & {
		&,
		&:hover,
		&:focus,
		&.focus,
		&:active,
		&.active {
			background-color: $background;
			border-color: $border;
		}
	}

	.badge {
		color: $background;
		background-color: $color;
	}
}

@mixin blogfont(){
    font-family:"blogfont";
    font-size:24px;
    font-style:normal;
    color: $theme-green;
}

@mixin sans-serif-font()
{
	font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

@mixin serif-font()
{
	font-family: 'Merriweather', 'Helvetica Neue', Arial, sans-serif;
}

@mixin body-font(){
    font-family: '\5FAE\8F6F\96C5\9ED1','Verdana', 'Geneva','KaiTi_GB2312', sans-serif;
}


@font-face {
    font-family: 'sinanova-regularregular';
    src: url('../fonts/sina_nova_reg/SinaNovaReg-webfont.eot');
    src: url('../fonts/sina_nova_reg/SinaNovaReg-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/sina_nova_reg/SinaNovaReg-webfont.woff2') format('woff2'),
         url('../fonts/sina_nova_reg/SinaNovaReg-webfont.woff') format('woff'),
         url('../fonts/sina_nova_reg/SinaNovaReg-webfont.ttf') format('truetype'),
         url('../fonts/sina_nova_reg/SinaNovaReg-webfont.svg#sinanova-regularregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@mixin sinanova-regularregular-font(){
    font-family: 'sinanova-regularregular';
}

@font-face {
    font-family: 'GoudyStM-webfont';
    src: url('../fonts/GoudyStM/GoudyStM-webfont.eot');
    src: url('../fonts/GoudyStM/GoudyStM-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/GoudyStM/GoudyStM-webfont.woff') format('woff'),
         url('../fonts/GoudyStM/GoudyStM-webfont.ttf') format('truetype'),
         url('../fonts/GoudyStM/GoudyStM-webfont.svg#sinanova-regularregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@mixin GoudyStM-webfont(){
    font-family: 'GoudyStM-webfont';
}

@font-face {
    font-family: 'raleway_thin-webfont';
    src: url('../fonts/raleway/raleway_thin-webfont.eot');
    src: url('../fonts/raleway/raleway_thin-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/raleway/raleway_thin-webfont.woff') format('woff'),
         url('../fonts/raleway/raleway_thin-webfont.ttf') format('truetype'),
         url('../fonts/raleway/raleway_thin-webfont.svg#sinanova-regularregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@mixin raleway_thin-webfont(){
    font-family: 'raleway_thin-webfont';
}


/* Ostrich Sans */

@font-face {
    font-family: 'ostrich-sans-black';
    src: url('../fonts/ostrich-sans/ostrich-sans-black.eot');
    src: url('../fonts/ostrich-sans/ostrich-sans-black.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ostrich-sans/ostrich-sans-black.woff') format('woff'), 
    url('../fonts/ostrich-sans/ostrich-sans-black.ttf') format('truetype'), 
    url('../fonts/ostrich-sans/ostrich-sans-black.svg') format('svg');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'ostrich-sans-bold';
    src: url('../fonts/ostrich-sans/ostrich-sans-bold.eot');
    src: url('../fonts/ostrich-sans/ostrich-sans-bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ostrich-sans/ostrich-sans-bold.woff') format('woff'), 
    url('../fonts/ostrich-sans/ostrich-sans-bold.ttf') format('truetype'), 
    url('../fonts/ostrich-sans/ostrich-sans-bold.svg') format('svg');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'ostrich-sans-regular';
    src: url('../fonts/ostrich-sans/ostrich-sans-regular.eot');
    src: url('../fonts/ostrich-sans/ostrich-sans-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ostrich-sans/ostrich-sans-regular.woff') format('woff'), 
    url('../fonts/ostrich-sans/ostrich-sans-regular.ttf') format('truetype'), 
    url('../fonts/ostrich-sans/ostrich-sans-regular.svg') format('svg');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'ostrich-sans-light';
    src: url('../fonts/ostrich-sans/ostrich-sans-light.eot');
    src: url('../fonts/ostrich-sans/ostrich-sans-light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ostrich-sans/ostrich-sans-light.ttf') format('truetype'), 
    url('../fonts/ostrich-sans/ostrich-sans-light.svg') format('svg');
    font-weight: 300;
    font-style: normal;
}


@mixin ostrich-sans-black(){
    font-family: 'ostrich-sans-black';
}
@mixin ostrich-sans-bold(){
    font-family: 'ostrich-sans-bold';
}
@mixin ostrich-sans-regular(){
    font-family: 'ostrich-sans-regular';
}
@mixin ostrich-sans-light(){
    font-family: 'ostrich-sans-light';
}
/* Ostrich Sans Dashed */

@font-face {
    font-family: 'ostrich-sans-dashed';
    src: url('../fonts/ostrich-sans/ostrich-sans-dashed.eot');
    src: url('../fonts/ostrich-sans/ostrich-sans-dashed.eot?#iefix') format('embedded-opentype'),
     url('../fonts/ostrich-sans/ostrich-sans-dashed.ttf') format('truetype'), 
     url('../fonts/ostrich-sans/ostrich-sans-dashed.svg') format('svg');
    font-weight: 500;
    font-style: normal;
}
@mixin ostrich-sans-dashed(){
    font-family: 'ostrich-sans-dashed';
}

/* Ostrich Sans Rounded */

@font-face {
    font-family: 'ostrich-sans-rounded';
    src: url('../fonts/ostrich-sans/ostrich-sans-rounded.eot');
    src: url('../fonts/ostrich-sans/ostrich-sans-rounded.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ostrich-sans/ostrich-sans-rounded.woff') format('woff'), 
    url('../fonts/ostrich-sans/ostrich-sans-rounded.ttf') format('truetype'), 
    url('../fonts/ostrich-sans/ostrich-sans-rounded.svg') format('svg');
    font-weight: 500;
    font-style: normal;
}
@mixin ostrich-sans-rounded(){
    font-family: 'ostrich-sans-rounded';
}
/* Ostrich Sans Inline */

@font-face {
    font-family: 'ostrich-sans-inline-regular';
    src: url('ostrich-sans-inline-regular.eot');
    src: url('../fonts/ostrich-sans/ostrich-sans-inline-regular.eot?#iefix') format('embedded-opentype'),
    url('ostrich-sans-inline-regular.woff') format('woff'), 
    url('ostrich-sans-inline-regular.ttf') format('truetype'),
     url('ostrich-sans-inline-regular.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ostrich-sans-inline-italic';
    src: url('../fonts/ostrich-sans/ostrich-sans-inline-italic.eot');
    src: url('../fonts/ostrich-sans/ostrich-sans-inline-italic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ostrich-sans/ostrich-sans-inline-italic.woff') format('woff'), 
    url('../fonts/ostrich-sans/ostrich-sans-inline-italic.ttf') format('truetype'), 
    url('../fonts/ostrich-sans/ostrich-sans-inline-italic.svg') format('svg');
    font-weight: normal;
    font-style: italic;
}

@mixin ostrich-sans-inline-regular(){
    font-family: 'ostrich-sans-inline-regular';
}
@mixin ostrich-sans-inline-italic(){
    font-family: 'ostrich-sans-inline-italic';
}


/* Ostrich Sans */



